package com.example.wlt.personnel_manegement_system.Login;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;

import com.example.wlt.personnel_manegement_system.R;

/**
 * Created by WLT on 2016/5/12.
 */
public class Findpsd extends Activity{
    private Button btn_back;
    private TextView tv_getcode;
    private Button btn_submit;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.login_findpsd);
        btn_back=(Button)findViewById(R.id.btn_org_headleft);
        tv_getcode=(TextView)findViewById(R.id.tv_login_getcode);
        btn_submit=(Button)findViewById(R.id.btn_login_submit);
        //返回登录页面
        btn_back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
        //完成重设密码并返回登录页面
        btn_submit.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Toast.makeText(Findpsd.this,"密码重新设置成功",Toast.LENGTH_SHORT);
                finish();
            }
        });
        //获取验证码
        tv_getcode.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {

            }
        });
    }
}
